package com.xuduo.amd.service;

import com.github.pagehelper.PageInfo;
import com.xuduo.amd.dto.ApplicationInfoResp;
import com.xuduo.amd.dto.BusinessRequest;
import com.xuduo.amd.dto.MapRequest;
import com.xuduo.amd.dto.SelectRequest;
import com.xuduo.amd.entity.EamBusinessEntity;
import com.xuduo.amd.pojo.BusinessInfoResp;
import com.xuduo.amd.pojo.EamBusinessBo;
import com.xuduo.amd.pojo.SelectEntity;

import java.util.List;
import java.util.Map;

public interface EamBusinessService {
    Map<String, List<String>> mapSelect();

    Map<String, Object> controllerInfo(MapRequest request);

    Map<String, List<Map<String, Object>>> findControllerMid(MapRequest request);

    Map<String, Object> select();

    PageInfo<SelectEntity> findByConditions(SelectRequest request);

    Map<String, Map<String, List<String>>> selectMap(MapRequest request);

    Map<String, Map<String, List<EamBusinessBo>>> selectMapByBusiness(MapRequest request);

    BusinessInfoResp findBusinessInfoById(String id);

    List<ApplicationInfoResp> FindApplicationInfoById(String id);

    int insertBach(List<EamBusinessEntity> records);

    Map<String, List<EamBusinessEntity>> selectModel(BusinessRequest request);

}
